package com.lancoo.klgcourseware.entity;

import android.text.TextUtils;

/**
 * Created by pengmi on 2018/11/7.
 * Description:释义用法模型
 */

public class ExpressionAndUsageModel {

    //释义
    private String Explain;
    //用法
    private String Usage;

    public String getExplain() {
        if(TextUtils.isEmpty(Explain)){
            return Explain;
        }else {
            return Explain.replaceAll("，","， ");
        }

    }

    public void setExplain(String explain) {
        Explain = explain;
    }

    public String getUsage() {
        return Usage.replaceAll("，","， ");
    }

    public void setUsage(String usage) {
        Usage = usage;
    }
}
